<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" scroll="no">
<%@include file="../include/init.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${Title}</title>
<link rel="shortcut icon" href="${res}favicon.ico" type="image/x-icon" />
 <!--Basic Styles-->
<link href="../framework/css/font.css" rel="stylesheet" />
<link href="../framework/miniui/themes/material/miniui.css" rel="stylesheet" />
<link href="../framework/css/app.min.1.css" rel="stylesheet" type="text/css" />
<link href="../framework/css/app.min.2.css" rel="stylesheet" type="text/css" />
<script src="../framework/main.js" type="text/javascript"></script>
<style type="text/css">
    html, body{
        margin:0;padding:0;border:0;width:100%;height:100%;overflow:hidden;
    }    
</style>
<script>
$(function(){
	mini.get("dg1").load();
});
</script>
</head>
<body>
	<div class="mini-toolbar" plain="true">
	   <a class="mini-button" iconCls="icon-remove" onClick="del()" plain="true">删除</a>
	   <a class="mini-button" iconCls="icon-message-read" onClick="setReadFlag()" plain="true">标记为己读</a>
	</div>
	<div class="mini-fit" style="padding-top:5px;">
		<div id="dg1" class="mini-datagrid z-depth-1" style="width:100%;height:100%;" method="EhsMessage.grid"  idField="ID" multiSelect="true" 
			onrowclick="clickCheck()" onrowdblclick="messageDetail('${FromUser}')">
		    <div property="columns">
		        <div type="indexcolumn"></div> 
		        <div type="checkcolumn" ></div>        
		        <div field="Subject" width="160">标题</div>    
		        <div field="RedirectURL" width="30" headerAlign="center">操作</div>         
		        <div field="FromUser" width="80" allowSort="true">发送人</div>         
		        <div field="AddTime" width="120" allowSort="true" dateFormat="yyyy-MM-dd HH:mm:ss">发送时间</div>         
		    </div>
		</div>
	</div>
</body>
</html>
